```js
// .storybook/my-addon/register.js

export const Panel = () => {
  const state = useStorybookApi();

  return <div>do something with storybook's api</div>;
};
```